Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Microsoft.​Extensions.​Options.​PostConfigureOptions<​TOptions, TDep>
Assembly: Microsoft.Extensions.Options
Inheritance: object → PostConfigureOptions
Implemented Interfaces
Implementation of <see cref="T:Microsoft.Extensions.Options.IPostConfigureOptions`1" /> .
Properties
public
System.​Action<​TOptions, TDep>
Action
Gets the configuration action.
public
TDep
Dependency
The dependency.
public
string
Name
Gets the options name.
Methods
public
void
PostConfigure​(string name,
TOptions options)
Invokes the registered initialization <see cref="P:Microsoft.Extensions.Options.PostConfigureOptions`2.Action" /> if the <paramref name="name" /> matches.
name
The name of the options instance being configured.
options
The options instance to configured.
public
void
PostConfigure​(TOptions options)
Configures a <typeparamref name="TOptions" /> instance using the <see cref="F:Microsoft.Extensions.Options.Options.DefaultName" /> .
options
The options instance to configured.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object